using System;

namespace Module.Core.EntitiesInfo
{

	[Serializable]
	public class ProductCartInfo_giohang
	{
		#region Fields
        private int oderId;
		private int cartId;
        private string productName;

        public string ProductName
        {
            get { return productName; }
            set { productName = value; }
        }
		private int quantity;
		private decimal totalPrice;
		private DateTime createdDate;
		private int memberId;
        private decimal dealxu;

    
		#endregion

		#region Constructors

		/// <summary>
		/// Initializes a new instance of the ProductCartInfoBase class.
		/// </summary>
		public ProductCartInfo_giohang()
		{
		}

		/// <summary>
		/// Initializes a new instance of the ProductCartInfoBase class.
		/// </summary>
		public ProductCartInfo_giohang(string productname, int quantity, decimal totalPrice, DateTime createdDate, int memberId)
		{
            this.productName = productname;
			this.quantity = quantity;
			this.totalPrice = totalPrice;
			this.createdDate = createdDate;
			this.memberId = memberId;
		}

		/// <summary>
		/// Initializes a new instance of the ProductCartInfoBase class.
		/// </summary>
        public ProductCartInfo_giohang(string productname, int productId, int quantity,
            decimal totalPrice, DateTime createdDate, int memberId, decimal dealxu)
		{
			this.cartId = cartId;
            this.productName = productname;
			this.quantity = quantity;
			this.totalPrice = totalPrice;
			this.createdDate = createdDate;
			this.memberId = memberId;
            this.dealxu = dealxu;
		}

		#endregion

		#region Properties
		/// <summary>
		/// Gets or sets the CartId value.
		/// </summary>
		public int CartId
		{
			get { return cartId; }
			set { cartId = value; }
		}
        public decimal Dealxu
        {
            get { return dealxu; }
            set { dealxu = value; }
        }
		/// <summary>
		/// Gets or sets the ProductId value.
		/// </summary>
		

        public int OderId
        {
            get { return oderId; }
            set { oderId = value; }
        }
		/// <summary>
		/// Gets or sets the Quantity value.
		/// </summary>
		public int Quantity
		{
			get { return quantity; }
			set { quantity = value; }
		}

		/// <summary>
		/// Gets or sets the TotalPrice value.
		/// </summary>
		public decimal TotalPrice
		{
			get { return totalPrice; }
			set { totalPrice = value; }
		}

		/// <summary>
		/// Gets or sets the CreatedDate value.
		/// </summary>
		public DateTime CreatedDate
		{
			get { return createdDate; }
			set { createdDate = value; }
		}

		/// <summary>
		/// Gets or sets the MemberId value.
		/// </summary>
		public int MemberId
		{
			get { return memberId; }
			set { memberId = value; }
		}

		#endregion
	}
}
